- /* srosubsf.cpp by K.Tsuru */
- // function ID = 707
- /********************
- SRational class
- *********************/
- #ifndef SN_H
- #include "sn.h"
- #endif
- SRational& SRational::operator=(const SRational& a){
- if(this != &a){ //considering the case a = a
- num = a.num; den = a.den;// a.den != 0 has been checked.
- reduceDone = a.reduceDone;
- }
- return *this;
- }
srosubsr.cpp : last modifiled at 2015/12/03 21:17:49(373 bytes)
created at 2016/06/26 15:57:35
The creation time of this html file is 2016/09/18 20:28:05 (Sun Sep 18 20:28:05 2016).